import { Controller, Dependencies, Get, Post } from '@nestjs/common';
import { AppService } from './app.service';

@Controller()
@Dependencies(AppService)
export class AppController {
  constructor(appService) {
    this.appService = appService;
  }

  @Get()
  getHello() {

    return this.appService.getHello();
  }
  @Get('testHello')
  testHello() {

    return 'ccc1'
  }
  @Post('videoConfig')
  videoConfig() {
    return 'aaaa'
  }
  @Post('changeVideo')
  changeVideo() {
    console.log(111111);
    return 'aaaa'
  }
}
